<template>
  <NuxtPage :keepalive="{ include: ['index', 'recharge'] }" />
</template>

<script lang="ts" setup>
const { getUserInfo, getServerSetting } = useUserStore()
getServerSetting()
getUserInfo()

// onBeforeMount(() => {
//   const { query } = useRoute()
//   if (!query?.sp) {
//     localStorage.setItem('chinfo', JSON.stringify({}))
//   }
// })
</script>
